package irio.pythcal;

public class Container {
	public String versionText = "Pythcal 1.0";
	public String aboutText = 	versionText + "\n\n" +  
						"Let's evaluate some sexy angles, baby! \n\n"+
						"Warning: may cause unexpected results while intoxicated\n\n"+
						"Dedicated to the T.U.V.A \n"+
						"(c)2011::irio.co.uk\n\n" + 
						"Pleae mail leuat@irio.co.uk for comments and suggestions";


	public String helpText = "Drag corners to move corners. \nClick settings to change settings. \nToggle camera by "+
							"clicking the camera button. \nChoose between a triangle and a rectangle. \nClick the center of " +
							"the red lines to set line length. \nSlide the bar to zoom\n\nSeriously...\n\n" +
							".. how hard can it be?";
	
	
	// Settings
	static final CharSequence[] settingsText = 
		 {"Display grid", 
		  "Display circle", 
		  "Display angles", 
		  "Display sides",
		  "Display radians", 
		  "Display bottom text" };

	static public boolean[] settings = {true, true, true,true, false, true};
	static final int DRAW_GRID = 0;
	static final int DRAW_CIRCLE = 1;
	static final int DRAW_ANGLES = 2;
	static final int DRAW_SIDES = 3;
	static final int DRAW_RADIANS = 4;
	static final int DRAW_BOTTOMTEXT = 5;

	
	// Sizes and scales
	public float scale = 0.0f;
	public float circleSize = 0.0f;
	public float tempScale = 0.0f;
	public float visualScale = 1.0f;
	public float zoom = -0.5f;
	
	// based on window width etc
	public float initialScale = 0.35f;
	public float initialCircleSize = 0.03f;
	
	// Vectors in use
	public Vec center = new Vec();
	public Vec localCenter = new Vec();
	public Particle moveParticle = null;
	public Vec currentPos = new Vec();

	public Particle p0=null, p1=null, p2=null;
	public float windowWidth = 0;
	public float windowHeight = 0;

		
	// Handy constants
	public final float convRad = (float) (360.0f/(2.0f*Math.PI));
	// character 
	public final char degree = 176; 
	// size of text
	public float textSize = 16;
	// spacing bottom text
	float textYspacing = 16;
	// scale of A B Cs
	float pointTextScale = 1.25f;
	
}
